Welcome![Sign In][Sign Up]
Location:
Search - intent android

Search list

[androidQR003

Description: Scaner QR code with android. Scanner scan via Intent.
Platform: | Size: 51200 | Author: pham quan | Hits:

[JSP/JavaIntent_exp

Description: android应用实例intent的具体应用说明解释都有-android application examples intent of the specific application note explains have
Platform: | Size: 87040 | Author: wwz | Hits:

[androidtilpun

Description: a source code that shows how to use call intent in android phone
Platform: | Size: 52224 | Author: io | Hits:

[Linux-UnixAndroid_helloworld

Description: 实验功能: 在第一个Hello World!为标签的activity中显示good,该界面中有一个名为Next的按钮。点击Next按钮进入到第二个activity中去,第二个界面中只有1个Close按钮。当然,据网上有人将要比较安全的实现关闭程序的功能也不是挺简单的,因为android有专门的退出键返回键等。所以该Close按钮暂时没去实现它。 我的第1个activity为HelloworldActivity,第2个activity为NextActivity. 实验说明: 1. 要实现从1个activity跳到另一个activity,这需要通过intent来实现。当然我们需要在Next按钮上绑定一个按钮按下的监听器(这些好像是java中的知识,可我从没学过java,只能用到哪个地方再去学了),一旦该按钮监听到有按键按下,则通过intent将指定的第2个activity触发,这样就完成了本次试验的功能。 2.在工程中,每一个activity都对应一个xml文件,xml文件主要是控制各控件的位置和属性的.   3. asserts目录下可以存放任何文件,res目录下也可以存放任意文件,且res下的文件会在gen目录下的R.java文件中自动生成一个全局id。   4. res目录下的values目下的strings.xml中的控件也是每个控件都在R.jar中对应一个id号。当然layout下的main.xml文件也是一样的。  -Experimental features:               In the first Hello World! For the activity of the label to display the good, the interface has a button called Next. Click the Next button to enter the second activity, the second interface is only a Close button. Of course, some people will be safer to close the program, according to online function is not very simple, and android have a dedicated exit key and return key. The Close button temporarily failed to achieve it.               I an activity for HelloworldActivity 2 activity is NextActivity.               Experiments show that:             (1) from one activity to another activity, which requires intent to achieve. Of course we need to bind on the Next button press of a button listener (like java in knowledge, but I never learned the java, and can only be used where to go to school). Once the button to listen to button is pressed,
Platform: | Size: 698368 | Author: wuwei | Hits:

[androidandroid_service

Description: 本次实验主要是学习怎样在activity中启动一个service,启动的service的生命周期顺序是哪些,然后service通过广播机制向特定的activity传递数据,传送数据当然用的是intent,然后接收到该广播的activity读取intent中的数据,根据读取到的数据来更新activity的UI。   关于怎样通过service广播机制来更新activity的UI,可以阅读网上的这篇文章:http://www.pocketdigi.com/20110303/197.html   需要注意的是service类是继承的android框架中的Service类,程序中需要将写好的service在AndriodManiFest.xml中进行注册,注册方法和activity的注册类似。   本程序的activity中有2个按钮和1个TextView,2个按钮分别用来启动service和停止service,然后在activtiy和service的生命周期函数中各自在后台打印出相关语句,同时为了方便观察,程序也直接将相关语句输出到了textview中。-This experiment to learn how to start a service in the activity start service order of the life cycle of which, and service through the broadcast mechanism to transfer data to a specific activity, transmission of data, of course with the An intent, and then receives the broadcast activity to read the intent of the data, according to the read data to update the activity of the UI. This article can be read online on how to update the activity through the service broadcast mechanism UI: http://www.pocketdigi.com/20110303/197.html need to pay attention to in the service class in the service class is inherited android framework The program will need to write the service in AndriodManiFest.xml register, similar to the method of registration and the registration of the activity. The activity of this program have two buttons and a TextView, 2 buttons are used to start the service and stop service, and then activtiy and service life cycle function in the background print out statements at the s
Platform: | Size: 964608 | Author: wuwei | Hits:

[androidSample_12_6

Description: Android手机电池电量显示。系统中手机电池电量发生变化的消息通过Intent广播来实现的。-Android phone battery. Mobile phone battery system changes the message through Intent broadcast.
Platform: | Size: 43008 | Author: 李秀栋 | Hits:

[androidEx04

Description: 中山大学android 实验四 源代码——Intent,Bundle,Listview的实现-About the use of Intent,Bundle,Listview
Platform: | Size: 709632 | Author: 陈奕静 | Hits:

[JSP/JavaAndroid-intent

Description: Activity查看数据与文本框反回数据-Activity data text box in return data
Platform: | Size: 2048 | Author: cnc | Hits:

[androidIntentaabundle

Description: android 1.6版本的 INTENT和BUNDLE,即页面跳转和传值-android page redirect and value transfer
Platform: | Size: 47104 | Author: cookidog | Hits:

[Communication-MobileComponentSample

Description: Android Intent_Component使用方法源码,Android Intent主要用于Android应用跳转和传递数据,把不同的Activity连接起来-Source of the Android Intent_Component use, Android Intent for Android applications jump and pass data to different Activity
Platform: | Size: 51200 | Author: Chen | Hits:

[JSP/Javaaidl-Cross-process-calls

Description: 这两天在学习aidl跨进程调用,研究了一天终于写出了个helloword……开发aidl跨进程调用,主要分以下步骤:   1.创建.aidl文件-该文件(YourInterface.aidl)定义了客户端可用的方法和数据的接口。   2.在makefile文件中加入.aidl文件-(Eclipse中的ADT插件提供管理功能)Android包括名为AIDL的编译器,位于tools/文件夹。   3.实现接口-AIDL编译器从AIDL接口文件中利用Java语言创建接口,该接口有一个继承的命名为Stub的内部抽象类(并且实现了一些IPC调用的附加方法),要做的就是创建一个继承YourInterface.Stub的类并且实现在.aidl文件中声明的方法。   4. 向客户端公开接口-如果是编写服务,应该继承Service并且重载Service.onBind(Intent) 以返回实现了接口的对象实例 -This two-day learning aidl cross-process calls, research and one day finally wrote helloword to ...... the development of the aidl cross-process calls, mainly consists of the following steps: 1. Created. Aidl file- the file (YourInterface.aidl) defines a client The available methods and data interface. 2 in the makefile. Aidl file- (the Eclipse ADT plugin provides management functions) Android called AIDL compiler tools/folder. 3 interface-AIDL compiler to create an interface from the the AIDL interface file using the Java language, the interface, the naming of a successor for the Stub internal abstract class (and some additional IPC calls) to do is to create a inherit the YourInterface.Stub class in aidl file declared. Open interface to the client- if writing services, should inherit Service and reload Service.onBind (Intent) to return the interface object instance
Platform: | Size: 119808 | Author: hpudn9 | Hits:

[androidPhoneManager

Description: 一个手机安全软件的demo, 一个手机安全软件的demo,-package com.tarena.phonemanager import java.util.ArrayList import java.util.List import android.app.Activity import android.app.AlertDialog.Builder import android.app.Dialog import android.content.DialogInterface import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuItem import android.view.View import android.view.View.OnClickListener import android.widget.EditText import android.widget.ListView import android.widget.TextView import android.widget.Toast import com.tarena.adapter.ContactAdapter import com.tarena.biz.ContactBiz import com.tarena.entity.Contact public class BlackActivity extends Activity { private TextView tv_white, tv_black, tv_add_white private ContactBiz cBiz private ListView lv_wb_contacts private ArrayList<Contact> contacts private LayoutInflater inflater private EditText et_add_name, et_add_num private View
Platform: | Size: 1168384 | Author: zhengyunguang | Hits:

[androidSensorDemo2

Description: ViewFilper用法说明,一个小demo-package com.tarena.phonemanager import java.util.ArrayList import java.util.List import android.app.Activity import android.app.AlertDialog.Builder import android.app.Dialog import android.content.DialogInterface import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuItem import android.view.View import android.view.View.OnClickListener import android.widget.EditText import android.widget.ListView import android.widget.TextView import android.widget.Toast import com.tarena.adapter.ContactAdapter import com.tarena.biz.ContactBiz import com.tarena.entity.Contact public class BlackActivity extends Activity { private TextView tv_white, tv_black, tv_add_white private ContactBiz cBiz private ListView lv_wb_contacts private ArrayList<Contact> contacts private LayoutInflater inflater private EditText et_add_name, et_add_num private View
Platform: | Size: 1202176 | Author: zhengyunguang | Hits:

[androidSMSManager

Description: android短信demo,包括连续发送短信-package com.tarena.phonemanager import java.util.ArrayList import java.util.List import android.app.Activity import android.app.AlertDialog.Builder import android.app.Dialog import android.content.DialogInterface import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuItem import android.view.View import android.view.View.OnClickListener import android.widget.EditText import android.widget.ListView import android.widget.TextView import android.widget.Toast import com.tarena.adapter.ContactAdapter import com.tarena.biz.ContactBiz import com.tarena.entity.Contact public class BlackActivity extends Activity { private TextView tv_white, tv_black, tv_add_white private ContactBiz cBiz private ListView lv_wb_contacts private ArrayList<Contact> contacts private LayoutInflater inflater private EditText et_add_name, et_add_num private View
Platform: | Size: 110592 | Author: zhengyunguang | Hits:

[androidactivity_02

Description: android的activity跳转,使用intent传递参数-Jump android' s activity, the use of intent to pass parameters
Platform: | Size: 63488 | Author: 黄晓宇 | Hits:

[androidworkspace_an

Description: android 登录界面,页面已经布局完好,按钮也设置成功,增加了Intent跳转页面,可运用于微博登录界面-android login screen, the page layout has been intact, buttons are also set successfully, an increase of Intent jump page, the login screen can be applied to micro-Bo
Platform: | Size: 2493440 | Author: xml | Hits:

[androidMyActivity

Description: 本节我们学习Android四大天王的Activity,Activity密切关注用户能做什么,负责与用户交互。类似于Java Web中的页面Page,将一系列View装载起来通过内部的加载引擎展现给前台用户。可以说一个简单的Android应用就是由一组Activity组合而成。可见对于Activity的学习在整个Android移动开发学习中至关重要的一环。鉴于Android移动开发属于嵌入式系统开发的范畴,所以Google的工程师在Android平台构架设计上,将很多组件都设计成基于事件驱动的,不推荐开发者采用手动的方式去主动调用它们的行为,这些行为将全部交给系统进行统一管理。因此掌握它们的生命周期是学好它们的根本所在。另外,与Service一样,Activity也是通过Intent来调用,Intent携带的数据能在多个Activity之间传递。-In this section, we study the Android four major Kings of Activity, the Activity pay close attention to what users can do, is responsible for the interaction with the user. Similar to Java Web Page, the Page will load a series of the View to display through internal loading the engine to the user. Can say a simple Android application is made up by a group Activity. Visible on the Activity of learning in learning the entire Android mobile development crucial one annulus. In view of the Android mobile development belongs to the category of the embedded system development, so Google engineers on the Android platform architecture design, will be a lot of components are designed based on the event-driven, developers to adopt the way of manual is not recommended to take the initiative to call them, these behaviors will be unified management over all system. So to master their life cycle is to learn their fundamental ?
Platform: | Size: 54272 | Author: lunzi | Hits:

[androidMulti_Activity

Description: 这是一个实现android 多个activity之间切换的代码,适合初学者了解intent -This is a realization of switching between android multiple activity code, suitable for beginners to understand the intent
Platform: | Size: 1288192 | Author: zz | Hits:

[JSP/JavaAlertReceiver

Description: Receives android.intent.action.EVENT_REMINDER intents and handles event reminders for Andriod.
Platform: | Size: 2048 | Author: faobangque | Hits:

[Other Gamessnake

Description: 这是一个简单的贪吃蛇游戏!只要把这个游戏导入eclipse就可以运行和查看源代码-import com.ruimin.snake.model.GameConstant import com.ruimin.snake.view.GameView import android.os.Bundle import android.os.Handler import android.os.Message import android.app.Activity import android.app.AlertDialog import android.content.DialogInterface import android.content.Intent import android.content.SharedPreferences import android.view.KeyEvent import android.view.Menu import android.view.ViewGroup import android.view.ViewGroup.LayoutParams import android.widget.LinearLayout public class GameActivity extends Activity { private LinearLayout layout = null private GameView gameView = null MyHandler handler = new MyHandler() // 是否暂停 private boolean isPaused = false @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_game) } public void initData() { GameConstant.curOrientation = GameConstant.DOWN GameConstant.map = null GameC
Platform: | Size: 1806336 | Author: 康瑞民 | Hits:
« 1 2 3 45 6 »

CodeBus www.codebus.net